//
//  TheCuetomCell.m
//  project_delicious
//
//  Created by dlios on 15-3-26.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "TheCuetomCell.h"

@implementation TheCuetomCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.theImageView = [[UIImageView alloc] init];
        [self.contentView addSubview:self.theImageView];
        [_theImageView release];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.theImageView.frame = CGRectMake(5, 5, self.frame.size.width-10, self.frame.size.height-10);
    self.theImageView.backgroundColor = [UIColor clearColor];
    self.theImageView.layer.cornerRadius = 15;
    self.theImageView.layer.masksToBounds = YES;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
